/* 社区分享内容 */
import { getStorage, setStorage, storePasted, setStoreTime } from '@/utils/storage'

const mockData = [
  {
    id: 1,
    name: '涂鸦小黄鸭',
    user: {
      avatar: 'https://aha-public-1301319986.cos.ap-shanghai.myqcloud.com/static_file/yuping/userAvatar/20220312103528882-Ellipse 13 (2).png',
      name: '王小雨'
    },
    imgs: ['https://aha-public-1301319986.cos.ap-shanghai.myqcloud.com/static_file/yuping/community/20220312094638541-Rectangle 13 (1).png'],
    reason: '涂涂改造过一次，它会唱歌、会讲故事。交换的原因是家里玩具太多了。但是我想要一只大兔子公仔。所以希望有大兔子公仔的小朋友和我交换哦！',
    condition: '换一只大兔子公仔'
  },
  {
    id: 2,
    name: '高达模型',
    user: {
      avatar: 'https://aha-public-1301319986.cos.ap-shanghai.myqcloud.com/static_file/yuping/userAvatar/20220312103528882-Ellipse 13 (2).png',
      name: '王小雨'
    },
    imgs: ['https://aha-public-1301319986.cos.ap-shanghai.myqcloud.com/static_file/yuping/community/20220312094638541-Rectangle 65.png'],
    reason: '涂涂改造过一次，它会唱歌、会讲故事。交换的原因是家里玩具太多了。但是我想要一只大兔子公仔。所以希望有大兔子公仔的小朋友和我交换哦！',
    condition: '换一只大兔子公仔'
  },
  {
    id: 3,
    name: '尤达玩偶',
    user: {
      avatar: 'https://aha-public-1301319986.cos.ap-shanghai.myqcloud.com/static_file/yuping/userAvatar/20220312103528882-Ellipse 13 (2).png',
      name: '王小雨'
    },
    imgs: ['https://aha-public-1301319986.cos.ap-shanghai.myqcloud.com/static_file/yuping/community/20220312094638541-Rectangle 66.png'],
    reason: '涂涂改造过一次，它会唱歌、会讲故事。交换的原因是家里玩具太多了。但是我想要一只大兔子公仔。所以希望有大兔子公仔的小朋友和我交换哦！',
    condition: '换一只大兔子公仔'
  },
  {
    id: 4,
    name: '米菲娃娃',
    user: {
      avatar: 'https://aha-public-1301319986.cos.ap-shanghai.myqcloud.com/static_file/yuping/userAvatar/20220312103528882-Ellipse 13 (2).png',
      name: '王小雨'
    },
    imgs: ['https://aha-public-1301319986.cos.ap-shanghai.myqcloud.com/static_file/yuping/community/20220312094638541-Rectangle 67.png'],
    reason: '涂涂改造过一次，它会唱歌、会讲故事。交换的原因是家里玩具太多了。但是我想要一只大兔子公仔。所以希望有大兔子公仔的小朋友和我交换哦！',
    condition: '换一只大兔子公仔'
  },
  {
    id: 5,
    name: '涂涂熊交换',
    user: {
      avatar: 'https://aha-public-1301319986.cos.ap-shanghai.myqcloud.com/static_file/yuping/userAvatar/20220312103528882-Ellipse 13 (2).png',
      name: '王小雨'
    },
    imgs: ['https://aha-public-1301319986.cos.ap-shanghai.myqcloud.com/static_file/yuping/toys/20220312103517920-Rectangle 61 (2).png'],
    reason: '涂涂改造过一次，它会唱歌、会讲故事。交换的原因是家里玩具太多了。但是我想要一只大兔子公仔。所以希望有大兔子公仔的小朋友和我交换哦！',
    condition: '换一只大兔子公仔'
  },
  {
    id: 6,
    name: '复古小车交换',
    user: {
      avatar: 'https://aha-public-1301319986.cos.ap-shanghai.myqcloud.com/static_file/yuping/userAvatar/20220312103528882-Ellipse 13 (2).png',
      name: '王小雨'
    },
    imgs: ['https://aha-public-1301319986.cos.ap-shanghai.myqcloud.com/static_file/yuping/community/20220312094638542-Rectangle 61 (1).png'],
    reason: '涂涂改造过一次，它会唱歌、会讲故事。交换的原因是家里玩具太多了。但是我想要一只大兔子公仔。所以希望有大兔子公仔的小朋友和我交换哦！',
    condition: '换一只大兔子公仔'
  },
  {
    id: 7,
    name: '龙猫模型交换',
    user: {
      avatar: 'https://aha-public-1301319986.cos.ap-shanghai.myqcloud.com/static_file/yuping/userAvatar/20220312103528882-Ellipse 13 (2).png',
      name: '王小雨'
    },
    imgs: ['https://aha-public-1301319986.cos.ap-shanghai.myqcloud.com/static_file/yuping/20220503152358184-Rectangle 62 (1).png'],
    reason: '涂涂改造过一次，它会唱歌、会讲故事。交换的原因是家里玩具太多了。但是我想要一只大兔子公仔。所以希望有大兔子公仔的小朋友和我交换哦！',
    condition: '换一只大兔子公仔'
  },
  {
    id: 8,
    name: '赛车模型交换',
    user: {
      avatar: 'https://aha-public-1301319986.cos.ap-shanghai.myqcloud.com/static_file/yuping/userAvatar/20220312103528882-Ellipse 13 (2).png',
      name: '王小雨'
    },
    imgs: ['https://aha-public-1301319986.cos.ap-shanghai.myqcloud.com/static_file/yuping/20220503152209256-Rectangle 63.png'],
    reason: '涂涂改造过一次，它会唱歌、会讲故事。交换的原因是家里玩具太多了。但是我想要一只大兔子公仔。所以希望有大兔子公仔的小朋友和我交换哦！',
    condition: '换一只大兔子公仔'
  },
  {
    id: 9,
    name: '乐高套装交换',
    user: {
      avatar: 'https://aha-public-1301319986.cos.ap-shanghai.myqcloud.com/static_file/yuping/userAvatar/20220308094833149-Ellipse 13 (1).png',
      name: '我'
    },
    imgs: ['https://aha-public-1301319986.cos.ap-shanghai.myqcloud.com/static_file/yuping/toys/20220312102747629-WechatIMG119 2 (1).png'],
    reason: '这套乐高做过涂鸦改造，非常漂亮有趣。 交换的原因是玩腻了。想和拥有其他乐高套装的小朋友交换！',
    condition: '其他乐高套装'
  },
]

/* 初始化本地数据 */
if (storePasted()) {
  setStorage('exchangeToys', JSON.stringify(mockData))
  console.log('重新缓存交互')
}
export default mockData
